<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<!-- <form th:action="@{/schedule}" method="post">
	<input type="hidden" name="_method" value="put"/>
	<input type="hidden" th:name="s_id" th:value="${schedule.s_id}"/>
	姓名:<input type="text" name="username" th:value="${schedule.employee.username}" th:disabled="disabled"/><br/>
	<label>开始时间:</label>
	<input th:type="date" th:name="s_starttime" min="1970-01-01" max="55555-12-31" placeholder="开始时间" 
	th:value="${#dates.format(schedule.s_starttime,'yyyy-MM-dd')}"/><br/>
	<label>结束时间:</label>
	<input th:type="date" th:name="s_endtime" min="1970-01-01" max="55555-12-31" placeholder="结束时间" 
	th:value="${#dates.format(schedule.s_endtime,'yyyy-MM-dd')}"/><br/>
	事务类型:<input type="text" th:name="s_type" th:value="${schedule.s_type}"/><br/>
	日程内容:<input type="text" th:name="s_content" th:value="${schedule.s_content}"/><br/>
	<input type="submit" value="修改"/>
</form> -->
<div style="padding: 100px 100px 10px;">

    <form th:action="@{/schedule}" method="post" class="bs-example bs-example-form" role="form">
    
    	<input type="hidden" name="_method" value="put"/>
    	
    	<input type="hidden" th:name="s_id" th:value="${schedule.s_id}"/>

        <div class="input-group">

            <span class="input-group-addon">姓名:</span>

            <input type="text" name="username" th:value="${schedule.employee.username}" th:disabled="disabled" class="form-control">

        </div>

        <br>
        
        <div class="input-group">

            <span class="input-group-addon">开始时间:</span>

            <input th:type="date" th:name="s_starttime" min="1970-01-01" max="55555-12-31" placeholder="开始时间" class="form-control" th:value="${#dates.format(schedule.s_starttime,'yyyy-MM-dd')}"/>

        </div>

        <br>

        <div class="input-group">

            <span class="input-group-addon">结束时间:</span>
            
            <input th:type="date" th:name="s_endtime" min="1970-01-01" max="55555-12-31" placeholder="结束时间" class="form-control" th:value="${#dates.format(schedule.s_endtime,'yyyy-MM-dd')}" />

        </div>

        <br>

        <div class="input-group">

            <span class="input-group-addon">事务类型:</span>

            <input type="text" th:name="s_type" class="form-control" th:value="${schedule.s_type}" />

        </div>
        
        <br/>
        
        <div class="input-group">

            <span class="input-group-addon">日程内容:</span>

            <input type="text" th:name="s_content" class="form-control" th:value="${schedule.s_content}"/>

        </div>
        
        <br/>
        
			<input type="submit" th:value="提交" class="btn btn-block"/>
			
    </form>

</div>
</body>
</html>